﻿//Given the Alert HTML Helper method
//Then Render the HTML

//Default Alert
@Html.Alert(text:"message") [.HideCloseButton()]

<div class="alert-box">
    Message
  					<a href="" class="close">×</a>
</div>

//Success Alert

@Html.Alert(text:"message", style:AlertStyle.Success [,hideCloseButton:false ,htmlAttributes:object])
@Html.Alert(text:"message").Success() [.HideCloseButton().Attributes(object)] //Fluent

<div class="alert-box success">
    Message
  					<a href="" class="close">×</a>
</div>

//Warning Alert

@Html.Alert(text:"message", style:AlertStyle.Warning [,hideCloseButton:false ,htmlAttributes:object])
@Html.Alert(text:"message").Warning()[.HideCloseButton().Attributes(object)] //Fluent

<div class="alert-box warning">
    Message
  					<a href="" class="close">×</a>
</div>

//Info Alert

@Html.Alert(text:"message", style:AlertStyle.Info [,hideCloseButton:false ,htmlAttributes:object])
@Html.Alert(text:"message").Info()[.HideCloseButton().Attributes(object)] //Fluent

<div class="alert-box info">
    Message
  					<a href="" class="close">×</a>
</div>